﻿@using WebEntities;
@model List<FW_MenuItem>
<div class="CataArea">
    <div class="cata-box">
        <div class="tit">@ViewBag.MenuName</div>
<div class="circle-cata">
        <ul>
            @{
                foreach (var mitem in Model)
                {
                    int itemId = (int)ViewBag.MuItemID;
                    if (itemId == mitem.ItemID)
                    {
                <li class="current"><i>·</i><a href="@mitem.ItemUrl">@mitem.ItemName</a></li>
                    }
                    else
                    {
                <li><i>·</i><a href="@mitem.ItemUrl">@mitem.ItemName</a></li>
                    }

                }
            }
        </ul>
        </div>
    </div>
    @if(Model.Count()>7){
    <div class="mitem-hander">
        <div>
            <input type="button" name="name" value=" " id="btnUpMenu" class="menuhander" />
        </div>
        <div>
            <input type="button" name="name" value=" " id="btnDownMenu" class="menuhander down" />
        </div>
    </div>
    }
</div>
<div style="height: 180px;">
</div>
